<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<% String ctx = request.getContextPath(); %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>	
 
<fmt:setBundle basename="i18n.gos.company.msg" var="company"/>
     <table class="easyui-datagrid" id="gos_company_index_dg" style="width:100%;height:100%"
            data-options="pagination:true,rownumbers:true,url:'${ctx }/gos/company/list',method:'get',toolbar:'#gos_company_index_tb',footer:'#gos_company_index_ft'">
        <thead>
            <tr>
                <th data-options="field:'id',checkbox:true"/>
                <th data-options="field:'name',width:250,align:'center'"><fmt:message key="c_name" bundle="${company}"/></th>
                <th data-options="field:'addr',width:150,align:'center'"><fmt:message key="c_addr" bundle="${company}"/></th>
                <th data-options="field:'tel',width:150,align:'center'"><fmt:message key="c_tel" bundle="${company}"/></th>
                <th data-options="field:'fax',width:150,align:'center'"><fmt:message key="c_fax" bundle="${company}"/></th>
                <th data-options="field:'email',width:160,align:'center'"><fmt:message key="c_email" bundle="${company}"/></th>
                <th data-options="field:'status',width:80,align:'center'"><fmt:message key="status" bundle="${company}"/></th>
            </tr>
        </thead>
    </table>
    <div id="gos_company_index_tb" style="padding:2px 5px;">
    	<form id="gos_company_search">
        <fmt:message key="c_name" bundle="${company}"/> : <input class="easyui-textbox" name="name" style="width:200px">      
       
        <span  class="easyui-linkbutton" onclick="gos_search('gos_company_search','gos_company_index_dg');"
         iconCls="icon-search"> <fmt:message key="func.search" bundle="${company}"/></span>  </form> 
    </div>
    <div id="gos_company_index_ft" style="padding:2px 5px; text-align: right;">
        <span class="easyui-linkbutton" title="<fmt:message key="func.detail" bundle="${company}"/>" onClick="gos_detail('gos_win','gos_company_index_dg','${ctx }/gos/company/dt','<fmt:message key="title.dt" bundle="${company}"/>');" iconCls="icon-more" ></span>
        <span class="easyui-linkbutton" title="<fmt:message key="func.add" bundle="${company}"/>" onClick="gos_add('gos_win','${ctx }/gos/company/add','<fmt:message key="title.add" bundle="${company}"/>');" iconCls="icon-add"/>
        <span class="easyui-linkbutton" title="<fmt:message key="func.edit" bundle="${company}"/>" onClick="gos_edit('gos_win','gos_company_index_dg','${ctx }/gos/company/edit','<fmt:message key="title.edit" bundle="${company}"/>');"  iconCls="icon-edit" ></span>      
        <span class="easyui-linkbutton" title="<fmt:message key="func.del" bundle="${company}"/>" onClick="gos_del('gos_company_index_dg','gos_company_search','${ctx }/gos/company/del','<fmt:message key="title.del" bundle="${company}"/>');" iconCls="icon-remove" ></span>         
    </div>